package com.itqf.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * projectName: rbacgp8
 *
 * @author: 赵伟风
 * time: 2021/8/12 11:08
 * description:
 */
@RequestMapping("admin")
@Controller
public class AdminController {


    @RequiresPermissions(value = "讲师排课")
    @GetMapping("plan")
    public String plan(){
        System.out.println("AdminController.plan");
        return "admin/plan";
    }

    @RequiresPermissions(value = "排课统计")
    @GetMapping("count")
    public String count(){
        System.out.println("AdminController.count");
        return "admin/count";
    }
}
